import vue from '@vitejs/plugin-vue'
import  {plugin}  from 'postcss'
import { setupMockPlugin } from './mockjs'


export default function setupPlugins(isBuild:boolean, env:ViteEnv){
    const plugins:plugin[] =  [vue()]

    console.log(env);
    
    plugins.push(setupMockPlugin(isBuild))
    return plugins
}